<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions">

<xsl:template match="self_governing">
<xsl:value-of select="concat('wi-country:',string(./codeISO3))"/> skos:exactMatch <xsl:value-of select="concat('&lt;',string(@id),'&gt;')"/>;
<xsl:apply-templates></xsl:apply-templates>
</xsl:template>

<xsl:template match="*[contains(name(), 'nameOfficial')]"> 
 	<xsl:value-of select="concat('wi-country:',string(../codeISO3))"/>	skosxl:prefLabel  "<xsl:value-of select="string(.)"/>"@<xsl:value-of select="substring-after(name(), 'nameOfficial')"/> .
</xsl:template> 

<xsl:template match="*[contains(name(), 'nameShort')]"> 
 	<xsl:value-of select="concat('wi-country:',string(../codeISO3))"/>	skosxl:altLabel  "<xsl:value-of select="string(.)"/>"@<xsl:value-of select="substring-after(name(), 'nameShort')"/> .
</xsl:template> 


<xsl:template match="*[contains(name(), 'nameList')]"> 
 	<xsl:value-of select="concat('wi-country:',string(../codeISO3))"/>	skosxl:hiddenLabel  "<xsl:value-of select="string(.)"/>"@<xsl:value-of select="substring-after(name(), 'nameList')"/> .
</xsl:template> 


<xsl:template match="text()">
 
</xsl:template>



</xsl:stylesheet>
